package com.kkd.kkdapp;

public class Environment {
	/** 全局debug配置 **/
	public static final boolean IS_DEBUG = true;

	// 服务端基础路径：测试
//	public static String SERVERPATH_DEBUG = "http://61.152.93.183/app/";//测试环境
//	public static String SERVERPATH_DEBUG = "http://pretest.kuaikuaidai.com/app/";//测试环境
	public static String SERVERPATH_DEBUG = "http://jx.kuaikuaidai.com/app/";//测试环境
	
//	public static String SERVERPATH_DEBUG = "http://192.168.1.19:9080/phoenix-core-server/app/";//杰哥pc
//	public static String SERVERPATH_DEBUG = "http://pretest.kuaikuaidai.com/app/";//预发布环境
//	public static String SERVERPATH_DEBUG = "http://116.62.41.167/app/";	//凯哥测试环境
	
	// 服务端基础路径：正式
	public static String SERVERPATH = "https://www.kuaikuaidai.com/app/";

	// H5 页面 url
//	public static String H5ULR_DEBUG = "http://61.152.93.181:9080/phoenix-h5-server/";//测试环境
	public static String H5ULR_DEBUG = "http://pretest.kuaikuaidai.com/h5/";//测试环境
//	public static String H5ULR_DEBUG = "http://pretest.kuaikuaidai.com/h5/";//预发布环境
	public static String H5ULR = "https://www.kuaikuaidai.com/h5/";

	// 分享URL
	public static String SHARE_ULR = "http://www.kuaikuaidai.com/h5/";

	// app文件夹名称
	public static String KKD_APP_FILE_ROOT_PATH = "kkd_file";

	public static String getServerUrl() {
		if (IS_DEBUG) {
			return SERVERPATH_DEBUG;
		} else {
			return SERVERPATH;
		}
	}

	public static String getH5Url() {
		if (IS_DEBUG) {
			return H5ULR_DEBUG;
		} else {
			return H5ULR;
		}
	}
}
